From 3b71fb59ab9613d73733d6c82cac8ddd74bb5101 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 30 Jul 2023 13:31:25 +0100 Subject: Store params and vals as locals in Patio --- ...d(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected') diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index a0ddbbd8..fbf82755 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenStringAddTests]/[method:canGenerateCodeForStringAdd(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -3,14 +3,12 @@ Compilation unit elements: ( function-decl "shed__runtime__string_add" - params=(("left" int) ("right" int)) + params=((param "left" int) (param "right" int)) return-type=int ) Locals: - * ("tmp__0" int) - -Args: + * (val "tmp__0" int) Instructions: -- cgit v1.2.3